/*
 * ListePoint.cpp
 *
 *  Created on: May 12, 2011
 *      Author: root
 */

#include "ListePoint.h"
#include <cstdio>

void ListePoint::affiche(){
	Maillon * q;
	Point * MyPoint;
	Maillon * Debut=p;
	q=p;
	do {
		p=q;
		MyPoint=(Point *) p->data;
		printf("MyPoint %f %f \n", MyPoint->getX(), MyPoint->getY() );
		q=p->next;
	} while (p->next != NULL);

	p=Debut;
}
ListePoint::ListePoint(float a,float b):Point(a,b){}
